package com.lanou.myim.model;

import com.lanou.myim.presenter.OnCompletedListener;

import java.util.List;

/**
 * Created by dllo on 16/3/3.
 */
public interface FriendsModelInterface {
    //获取好友列表
    List<SortModel> getFriendList();
    //获得筛选后的好友列表
    List<SortModel> getFilterFriendList(String str);
    //删好友
    void deleteFriend(String userName,OnCompletedListener listener);
    //好友已添加
    void addFriendToBlackList(String userName,Boolean flag,OnCompletedListener listener);

    void insertData(String name,String reason,boolean flag,OnCompletedListener listener);

    List<SortModel> getAddFriendList(List<String> names);


}
